package com.sheledon.demo.demo1.service;

import com.sheledon.demo.pojo.Person;
import com.sheledon.flyCat.annotation.boot.Component;

@Component
public class PersonService {
    public Person getPerson(String name){
        Person person = new Person();
        person.setName(name);
        person.setClasses("无面即");
        System.out.println("person service : "+person);
        return person;
    }
}
